package com.milotnt.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Schema(description = "课程预约实体类")
@TableName("class_order")
@Data
public class ClassOrderEntity extends BaseEntity{

    @Schema(description = "课程id")
    @TableField("class_id")
    private Long classId;

    @Schema(description = "课程名称")
    @TableField("class_name")
    private String className;

    @Schema(description = "教练")
    @TableField("coach")
    private String coach;

    @Schema(description = "会员名称")
    @TableField("member_name")
    private String memberName;

    @Schema(description = "会员账号")
    @TableField("member_account")
    private Long memberAccount;

    @Schema(description = "开课时间")
    @TableField("class_begin")
    private Date classBegin;

}
